odhcpd: fix a compilation error
authorDavid Härdeman <[email protected]>
Thu, 9 Oct 2025 09:08:14 +0000 (11:08 +0200)
committerÁlvaro Fernández Rojas <[email protected]>
Fri, 10 Oct 2025 06:29:58 +0000 (08:29 +0200)
commit30780debd691aee7567784daf1fdfd8db500a485
treeabc4a7e7528a99cd2b35927a7618658f6b23c600
parente0b2c3cf9476b25e317b7fcfa63b7accc34f054c
odhcpd: fix a compilation error

odhcpd_get_interface_dns_addr() calls odhcpd_get_interface_linklocal_addr(),
the former takes a const struct interface ptr, the latter takes a non-const
struct interface ptr.

The end result is an unhappy compiler.

Signed-off-by: David Härdeman <[email protected]>
Link: https://github.com/openwrt/odhcpd/pull/272
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
src/odhcpd.c
src/odhcpd.h